Parse half-open ranges like -2 or 3-, and be a bit more liberal about
authorMatthias Clasen <mclasen@redhat.com>
Tue, 24 Apr 2007 20:16:35 +0000 (20:16 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 24 Apr 2007 20:16:35 +0000 (20:16 +0000)
commit8f409578f267f4da34ffe57c26032acc6706bde7
tree92479da91e0d856901a1df7883934ecfa61e74e8
parent18a9c78bf36be6e6c84a7fa8259b9daa4e8eb96f
Parse half-open ranges like -2 or 3-, and be a bit more liberal about

2007-04-24  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
        half-open ranges like -2 or 3-, and be a bit more liberal
        about whitespace.
        (dialog_set_page_ranges): Support half-open ranges.

        * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
        number of pages in half-open ranges.
        (preview_iface_is_selected): Support half-open ranges here, too.

svn path=/trunk/; revision=17627
ChangeLog
gtk/gtkprintoperation.c
gtk/gtkprintunixdialog.c